<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<form action="" method="post" th:action="@{/leave/saveAndSubmit}">
		
		请假类型：
		<select name="leaveType">
			<option value="1">病假</option>
			<option value="2">事假</option>
			<option value="3">年假</option>
		</select>
		<br>
		开始时间：<input type="text" name="beginTime">
		<br>
		结束时间：<input type="text" name="endTime">
		<br>
		请假原因：<br>
		<textarea name="leaveReason" rows="5" cols="50"></textarea>
		<br>
		<input type="submit" id="submitBtn" value="提交">
	</form>
</body>
</html>